function Student(name,age){
    this.name = name;
    this.age = age;
    this.introduce =function(){
        console.log('大家好，我叫'+this.name+',今年'+this.age+'岁');
    }
}
var stu1 = new Student('张三',18);
stu1.introduce()
var stu2 = new Student('李四',19);
stu2.introduce()
var stu3 = new Student('王五',18);
stu3.introduce()